@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 3px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

// 原生页码
.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}



.el-form-item__label {
  font-weight: 400;
}

// 2.0
// 搜索框
.search_content {
  margin-left: 0px;
}

.search_content .el-row {
  margin: 0 !important;
  padding-top: 18px;
}

.search_content .common_query {
  padding-left: 24px !important;
  padding-right: 0;
}

.search_content .common_query .el-button {
  width: 88px;
  height: 30px;
  line-height: 7px;
  font-size: 14px;
  background-color: #165DFF;
  border-radius: 3px;
  opacity: 1;
  color: #FFFFFF;
}

.search_content .common_export {
  position: absolute;
  right: 60px;
  padding-left: 24px !important;
  padding-right: 0;
}

.search_content .common_export .el-button {
  width: 88px;
  height: 30px;
  line-height: 7px;
  font-size: 14px;
  background-color: #165DFF;
  border-radius: 3px;
  opacity: 1;
  color: #FFFFFF;
}

// 选择通信编号
.sel_meter {
  margin: 0 25px;
  width: 80px;
  height: 30px;
  line-height: 30px;
}

// 
.common_right_btn {
  float: right;
  margin-right: 10px;
}

.common_right_btn .el-button--medium {
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 3px;
}

// 搜索框input
.common_input {
  padding: 0 !important;
  width: 240px;
  margin-left: 16px;
}

// 搜索框 时间组件
.search_common_picker {
  width: 168px !important;
}



//时间控件
.common_picker {
  padding: 0 !important;
  width: 250px;
  margin-left: 16px;
}









// 页码
.my_pagination {
  float: right;
  margin: 30px 0px;
}

// 操作按钮
.common_operation{
  display: inline-block;
  width: 44px;
  color: #3491FA;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.common_operation_2 {
  width: 80px;
}


// 批量抄表
.batch_popup .el-dialog {
  width: 1200px;
  height: 730px;
}


// 查看结果
.result_popup .el-dialog{
  width: 660px;
  height: 665px !important;
}

.set_popup .el-dialog{
  width: 1000px;
  height: 780px;
} 

// 详情通用
// 记录详情

// 充值记录详情和修改充值状态
.recharge_popup .el-dialog {
  height: 460px;
}

.recharge_details .el-dialog {
  height: 660px !important;
}


// 新增编辑角色信息弹窗
.role_popup .el-dialog {
  width: 900px;
  height: 820px;
}


/* 选择通信编号弹窗*/
.sel_meter_popup .el-dialog {
  width: 768px;
  height: 770px;
}

.sel_meter_popup .el-dialog__header{
  text-align: left;
  padding: 16px 0px 16px 16px;
  color: #000000 !important;
  border-bottom: 1px solid #E7E7E7;
}

.sel_meter_popup .el-dialog__header .el-dialog__title{
  color: #000000 !important;
  font-weight: bold;
}

.sel_meter_popup .el-dialog__body{
  padding-top: 10px;
}

.sel_operation{
  padding: 10px;
  height: 28px;
  color: #3491FA;
  cursor: pointer;
}

// 右侧内容容器
.container {
  margin-left: 13px;
  margin-right: 13px;
  background: #FFF;
  min-height: calc(100% - 130px);
}

// tab 面包屑
.el-tabs__item {
  text-align: center;
  width: 100px;
}

// 文本溢出
.block_content {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-align: justify;
  overflow: hidden;
  text-align: center;
}

/* 提示框css */
.test_tooltip {
  max-height: 300px;
  max-width: 500px;
  font-size: 15px;
}

// 数据统计
.statistic {
  margin-top: 0px;
  margin-left: 16px;
}

.no_click {
  pointer-events: none;
}
